package com.feisuanyz.vo;

import lombok.*;

/**
 * <p>
 *   RESTful API 响应对象
 * </p>
 * @author 23265
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class RestResult {

    private String code;
    private String msg;
    private Object data;

    public RestResult(String code, String msg) {
        this.code = code;
        this.msg = msg;
        this.data = null;
    }
}